import { createApp } from 'vue';
import { createPinia } from 'pinia';
import App from './App';
import router from './router';
import 'virtual:windi.css';
import './assets/main.css';
import 'ant-design-vue/dist/antd.variable.min.css';

// import ui from 'saibo-ui';
// import 'ant-design-vue/dist/antd.dark.css';
import 'lazy-zc/theme-chalk/src/common/var.css';
import comIcons from './utils/comIcons';
const app = createApp(App);

if (import.meta.env.MODE == 'prod') {
  // 屏蔽警告信息
  app.config.warnHandler = () => null;
}
comIcons(app);
app.use(createPinia());
app.use(router);
// app.use(ui);
app.mount('#app');
